<?php
namespace app\common\errcode;

class ApiErrMsg
{
    CONST SUCCESS                 = '请求成功';
    CONST FAIL                    = '请求失败';
    CONST SYSTEM_ERROR            = '系统错误';
    CONST PARAM_ERROR             = '参数错误';
    CONST LOGIN_FAIL              = '用户名或密码错误，请检查！';
    CONST JWT_ERROR               = 'token验证失败'; 
    CONST JWT_EXPIRE              = 'token过期'; 
    CONST LOGIN_FORBIDDEN         = '禁止登录！';
    CONST TEMP_TOKEN_ERROR        = '获取临时凭证失败';
    CONST CREATE_BRAND_FAIL       = '新增品牌失败';
    CONST BRAND_EXIST             = '品牌已存在';
    CONST REMARK_FAIL             = '备注失败';
    CONST DELETE_FAIL             = '删除失败';
    CONST EDIT_FAIL               = '编辑失败';
    CONST PRODUCT_EXIST_VIDEO     = '产品存在关联视频';
    CONST UPLOAD_FAIL             = '上传失败';
    CONST CHECK_FAIL              = '检测失败';
    CONST PUSH_FAIL               = '推送失败';
    CONST NO_DOWNLOAD_DATA        = '没有可下载数据';
    CONST CREATE_TASK_FAIL        = '创建任务失败';
    CONST HANDLE_TASK_FAIL        = '操作任务失败';
    CONST SEND_FAIL               = '发送邮件失败';
    CONST TASK_NOT_EXIST          = '任务不存在';
    CONST DELETE_TASK_FAIL        = '删除任务失败';
    CONST NO_HANDLE_AUTH          = '没有操作权限';
    CONST STATUS_FORBIDDEN_HANDLE = '当前状态禁止操作';
    CONST NO_SEND_EMAIL           = '邮箱未设置';
    CONST STATUS_FORBIDDEN_UPLOAD = '当前状态禁止上传';
}